package com.taotao.search.service;

import com.taotao.common.pojo.SearchResult;
import com.taotao.common.pojo.TaotaoResult;

public interface SearchService {
    //导入所有的商品信息到索引库
    public TaotaoResult importAllItems() throws Exception;

    public SearchResult search(String queryString,Integer page,Integer rows) throws Exception;

    TaotaoResult updateSearchItemById(Long itemId) throws Exception;

}
